import request from '@/utils/request'

// export function responsibility(query) {//镇街三张清单
//   return request({
//     url: '/supervise/responsibility/list',
//     method: 'get',
//     params: query
//   })
// }
// export function administrative(query) {//部门监管事项清单
//   return request({
//     url: '/supervise/administrative/list',
//     method: 'get',
//     params: query
//   })
// }
// export function zhenjie(query) {//镇街、部门吹哨清单
//   return request({
//     url: '/supervise/zhenjie/list',
//     method: 'get',
//     params: query
//   })
// }
// export function departments(query) {//职能职责清单
//   return request({
//     url: '/supervise/departments/list',
//     method: 'get',
//     params: query
//   })
// }
// export function inspection(query) {//网格巡查清单
//   return request({
//     url: '/supervise/inspection/list',
//     method: 'get',
//     params: query
//   })
// }
// // 镇街、部门监管
// export function effectivenessStatistics(query) {//
//   return request({
//     url: '/system/statistical/supervise/realtime/new/effectivenessStatistics',
//     method: 'get',
//     params: query
//   })
// }
// //法人监管
// export function info(query) {//企业
//   return request({
//     url: '/supervise/info/list',
//     method: 'get',
//     params: query
//   })
// }
// export function xzspsj(query) {//行政审批接口
//   return request({
//     url: '/zDataShare/getData/encryption/xzspsj',
//     method: 'get',
//     params: query
//   })
// }






export function responsibility(query) {//镇街三张清单1
  return request({
    url: '/supervise/responsibility/list',
    method: 'get',
    params: query
  })
}
export function zPublicServices(query) {//镇街三张清单2
  return request({
    url: '/supervise/zPublicServices/list',
    method: 'get',
    params: query
  })
}
export function tasks(query) {//镇街三张清单3
  return request({
    url: '/supervise/tasks/list',
    method: 'get',
    params: query
  })
}
export function administrative(query) {//部门监管事项清单
  return request({
    url: '/supervise/administrative/list',
    method: 'get',
    params: query
  })
}
export function zhenjie(query) {//镇街、部门吹哨清单
  return request({
    url: '/supervise/zhenjie/list',
    method: 'get',
    params: query
  })
}
export function departments(query) {//职能职责清单
  return request({
    url: '/supervise/departments/list',
    method: 'get',
    params: query
  })
}
export function inspection(query) {//网格巡查清单
  return request({
    url: '/supervise/inspection/list',
    method: 'get',
    params: query
  })
}
// 镇街、部门监管
export function effectivenessStatistics(query) {//业务办理
  return request({
    url: '/system/statistical/supervise/realtime/new/effectivenessStatistics',
    method: 'get',
    params: query
  })
}
export function grid(query) {//顶部nav信息
  return request({
    url: '/system/grid/list',
    method: 'get',
    params: query
  })
}
// export function getComplaintsReport(query) {//投诉举报排行榜
//   return request({
//     url: '/system/statistical/supervise/realtime/new/getComplaintsReport',
//     method: 'get',
//     params: query
//   })
// }
export function getComplaintsReport(query) {//清单分析排行榜
  return request({
    url: '/system/statistical/supervise/realtime/new/getInventoryAnalysis',
    method: 'get',
    params: query
  })
}
export function getOutstandingProblems(query) {//突出问题排行榜
  return request({
    url: '/system/statistical/supervise/realtime/new/getOutstandingProblems',
    method: 'get',
    params: query
  })
}
// export function getUserInfo(query) {//案件来源分析
//   return request({
//     url: '/system/user/getUserInfo',
//     method: 'get',
//     params: query
//   })
// }
//法人监管
export function info(query) {//企业
  return request({
    url: '/supervise/info/list',
    method: 'get',
    params: query
  })
}
export function xzspsj(query) {//行政审批接口
  return request({
    url: '/ztdata/eventIntgrationV2/list',
    method: 'get',
    params: query
  })
}
export function domestic(query) {//工商管理
  return request({
    url: '/ztdata/domestic/list',
    method: 'get',
    params: query
  })
}
export function zfFinedata(query) {//行政处罚记录
  return request({
    url: '/ztdata/zfFinedata/list',
    method: 'get',
    params: query
  })
}
export function manTaskreport(query) {//巡检记录
  return request({
    url: 'system/manTaskreport/list2',
    method: 'get',
    params: query
  })
}

export function satisfaction(query) {//满意度
  return request({
    url: '/system/statistical/supervise/realtime/new/getSatisfactionStatistics',
    method: 'get',
    params: query
  })
}
export function sortStatistics(query) {//分类统计
  return request({
    url: '/system/statistical/supervise/realtime/new/getCategoryStatistics',
    method: 'get',
    params: query
  })
}
export function patrolStatistics(query) {//履职巡查
  return request({
    url: '/system/statistical/supervise/realtime/new/getManTaskByCategoryStatistics',
    method: 'get',
    params: query
  })
}
export function patrolDetails(query) {//履职巡查详情
  return request({
    url: '/patrol/patrolTask/list2',
    method: 'get',
    params: query
  })
}
export function complaintDetails(query) {//投诉举报 new 清单分析
  return request({
    url: '/system/statistical/supervise/realtime/new/getInventoryAnalysis',
    method: 'get',
    params: query
  })
}
export function prominentDetails(query) {//突出问题
  return request({
    url: '/system/statistical/supervise/realtime/new/getOutstandingProblems',
    method: 'get',
    params: query
  })
}
export function detailsDetails(query) {//突出问题,投诉举报详情
  return request({
    url: '/system/newCase/list',
    method: 'get',
    params: query
  })
}
export function substepDetails(query) {//突出问题,投诉举报分布
  return request({
    url: '/system/statistical/supervise/realtime/new/getDistribution',
    method: 'get',
    params: query
  })
}

// 获取用户信息
export function getUserInfo(data) {
  return request({
    url: '/system/user/getUserInfo',
    method: 'get',
    params: data
  })
}